package com.lkd.service;

import com.lkd.dto.UserDto;
import com.lkd.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lkd.vo.LoginUserVo;
import com.lkd.vo.PageBean;
import com.lkd.vo.UserVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zzy
 * @since 2025-10-10
 */
public interface IUserService extends IService<User> {

    /**
     *
     * @param loginName
     * @param password
     * @return
     */
    LoginUserVo login(String loginName, String password);

    /**
     * 人员搜索
     * @param userDto
     * @return
     */
    PageBean<UserVo> search(UserDto userDto);
}
